# encoding=utf-8
from seg_common.annotation import TimeRecorder
from seg_common.logging import ConsoleService


class TimeRecorderSaveService:
    recorder = TimeRecorder()

    @staticmethod
    def time_record():
        TimeRecorderSaveService.recorder.save_img()
        TimeRecorderSaveService.recorder.save_txt()
        ConsoleService.console_log("TimeRecorderSaveService, 效率统计已更新")
